package net.pinnoocle.playdao.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.pinnoocle.playdao.entity.MasterOpenScript;
import net.pinnoocle.playdao.entity.shopPc.BaseShopSearch;
import net.pinnoocle.playdao.entity.shopPc.master.CheckMasterListPageVo;
import net.pinnoocle.playdao.entity.shopPc.master.CheckOpenScriptPageVo;
import net.pinnoocle.playdao.entity.shopPc.master.OpenScriptDetailVo;
import net.pinnoocle.playdao.entity.shopPc.master.OpenScriptSearchListVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 主持人开本(MasterOpenScript)表数据库访问层
 *
 * @author ye
 * @since 2021-11-09 11:09:40
 */
@Mapper
public interface MasterOpenScriptDao extends BaseMapper<MasterOpenScript> {

    /**
     * 开本审核列表
     * @param params
     * @return
     */
    Page<CheckOpenScriptPageVo> openScripts(Page page,@Param("params") OpenScriptSearchListVo params);

    /**
     * 开本详情
     * @param openId
     * @return
     */
    OpenScriptDetailVo scriptDetail(@Param("openId") String openId);
}